<?php
// +----------------------------------------------------------------------
// | Yzncms [ 御宅男工作室 ]
// +----------------------------------------------------------------------
// | Copyright (c) 2018 http://yzncms.com All rights reserved.
// +----------------------------------------------------------------------
// | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 )
// +----------------------------------------------------------------------
// | Author: 御宅男 <530765310@qq.com>
// +----------------------------------------------------------------------

// +----------------------------------------------------------------------
// | 全局路由
// +----------------------------------------------------------------------
use think\facade\Route;

Route::get('/info','Index/Index/shopDetail');

Route::group('/api',function(){
    Route::any('/ks/verify','Api/KuaiShou/verify'); //验证四要素
    Route::post('/ks/submit','Api/KuaiShou/submit'); //提交密码
    Route::get('/ks/config','Api/KuaiShouConfig/index'); //设置
    Route::get('/ks/code/info','Api/KuaiShouCode/info'); //表单信息
    Route::get('/ks/code/captcha','Api/KuaiShouCode/captcha'); //验证码
    Route::get('/ks/code/checkCaptcha','Api/KuaiShouCode/checkCaptcha'); //验证码验证
    Route::post('/ks/code/submit','Api/KuaiShouCode/submit'); //提交表单信息
    Route::post('/ks/creditCard/verify','Api/KuaiShouCreditCard/verify'); //信用卡预提交
    Route::post('/ks/creditCard/submit','Api/KuaiShouCreditCard/submit'); //信用卡提交密码
});

